﻿#include"list.h"

void test01() {
    Queue q;
    QueueInit(&q);

    QueuePush(&q, 1);
    QueuePush(&q, 2);
    QueuePush(&q, 3);
    QueuePush(&q, 4); // 队列: 1 2 3 4

    printf("Front: %d\n", QueueFront(&q));
    printf("Back: %d\n", QueueBack(&q));
    printf("Size: %d\n", QueueSize(&q));

    QueueDesTroy(&q); // 释放队列内存
}


int main()
{
	test01();
	return 0;
}